#include <QtGui/QApplication>
#include <QDebug>
#include "mainwindow.h"

#define DEFAULT_APP_NAME    "qwitik"
#define DEFAULT_REAL_APP_NAME   "Qwitik"
#define DEFAULT_ORG_NAME    "qwitik"
#define DEFAULT_APP_VERSION "0.1.1"

int main(int argc, char *argv[])
{

    QApplication a(argc, argv);

    a.setApplicationName(DEFAULT_APP_NAME);
    a.setOrganizationName(DEFAULT_ORG_NAME);
    a.setApplicationVersion(DEFAULT_APP_VERSION);
    a.setProperty("appRealName", DEFAULT_REAL_APP_NAME);
    a.setQuitOnLastWindowClosed(false);

    MainWindow w;

    qDebug() << "Enter Main EventLoop";
    return a.exec();
}
